Open
Conversation
gramsa49
commented
Jun 20, 2021
- Add additional Bind::Options: dnssec-enable, dnssec-validation, listen-on, listen-on-v6, recursion, tkey-gssapi-keytab, version
- Enable support for TSIG authentication for: allow-transfer, allow-update, also_notify
- Fix an issue with Bind::Logging when using syslog channel logging
Author
|
This the error related to the Bind::Logging/syslog fix: Notice: /Stage[main]/Bind::Config/Concat[/etc/bind/named.conf]/File[/etc/bind/named.conf]/content:
--- /etc/bind/named.conf 2021-06-19 17:58:54.456086044 -0500
+++ /tmp/puppet-file20210619-21855-jbc1q4 2021-06-19 18:19:19.975867480 -0500
@@ -1,6 +1,14 @@
# Managed by Puppet
+logging {
+ channel syslog {
+ print-category yes;
+ print-severity yes;
+ print-time true;
+ severity dynamic;
+ };
+};
options {
directory "/var/cache/bind";
Info: Computing checksum on file /etc/bind/named.conf
Info: /Stage[main]/Bind::Config/Concat[/etc/bind/named.conf]/File[/etc/bind/named.conf]: Filebucketed /etc/bind/named.conf to puppet with sum df3f88e9dc877230a1f78dbd8c2e2180656977d5125fac0d2e5b26221700f74c
Error: Execution of '/usr/sbin/named-checkconf /etc/bind/named.conf20210619-21855-1m7nkcy' returned 1: /etc/bind/named.conf20210619-21855-1m7nkcy:5: channel 'syslog': exactly one of file, syslog, null, and stderr must be present
Error: /Stage[main]/Bind::Config/Concat[/etc/bind/named.conf]/File[/etc/bind/named.conf]/content: change from '{sha256}df3f88e9dc877230a1f78dbd8c2e2180656977d5125fac0d2e5b26221700f74c' to '{sha256}ea037ff85efe055fc1a7ff805c6c29cd31a7c5938c17229bb7526ae3b6a94d74' failed: Execution of '/usr/sbin/named-checkconf /etc/bind/named.conf20210619-21855-1m7nkcy' returned 1: /etc/bind/named.conf20210619-21855-1m7nkcy:5: channel 'syslog': exactly one of file, syslog, null, and stderr must be presentThe Hiera data that produced that error: bind::logging:
channels:
syslog:
print-time: yes
print-category: yes
print-severity: yes
syslog: local0
severity: dynamic |
Author
|
This is an example configuration that would make use of the That allows for signed updates and notifies based on both IP and key. |
- Add additional Bind::Options: dnssec-enable, dnssec-validation, listen-on, listen-on-v6, recursion, tkey-gssapi-keytab, version - Enable support for TSIG authentication for: allow-transfer, allow-update, also_notify - Fix an issue with Bind::Logging when using syslog channel logging
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.